package cn.m3a1.bean;

public class Curse {
    private Integer id;

    private Integer semyear1;

    private Integer semyear2;

    private Integer semno;

    private String name;

    private String room;

    private String time;

    private Integer teacherid;

    private Integer classid;

    private  User user;
    private  Tclass tclass;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public Tclass getTclass() {
        return tclass;
    }

    public void setTclass(Tclass tclass) {
        this.tclass = tclass;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSemyear1() {
        return semyear1;
    }

    public void setSemyear1(Integer semyear1) {
        this.semyear1 = semyear1;
    }

    public Integer getSemyear2() {
        return semyear2;
    }

    public void setSemyear2(Integer semyear2) {
        this.semyear2 = semyear2;
    }

    public Integer getSemno() {
        return semno;
    }

    public void setSemno(Integer semno) {
        this.semno = semno;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getRoom() {
        return room;
    }

    public void setRoom(String room) {
        this.room = room == null ? null : room.trim();
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time == null ? null : time.trim();
    }

    public Integer getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(Integer teacherid) {
        this.teacherid = teacherid;
    }

    public Integer getClassid() {
        return classid;
    }

    public void setClassid(Integer classid) {
        this.classid = classid;
    }
}